]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
app-search-result: Fix launching on another workspace
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 6 Apr 2011 06:22:32 +0000 (08:22 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 7 Apr 2011 11:50:55 +0000 (13:50 +0200)
dragActivateResult() called a non-existent method, fix that.

https://bugzilla.gnome.org/show_bug.cgi?id=645990

js/ui/appDisplay.js

index 2623a46078efa47c06bc0f007a609a58e6441c84..78309361ff5a285b8f983d2705151b141585a806 100644 (file)
@@ -313,7 +313,7 @@ BaseAppSearchProvider.prototype = {
                                         timestamp: null });
 
         let app = this._appSys.get_app(id);
-        app.open_new_window(params.workspace ? params.workspace.get_index() : -1);
+        app.open_new_window(params.workspace ? params.workspace.index() : -1);
     }
 };